
package com.wyzz.hr.action;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletRequest;

import com.wyzz.hr.bo.IEmployeeBo;


public class EmployeeNewAction extends EmployeeReportAction {

	public EmployeeNewAction() {
	}

	public String execute() throws Exception {
		String result = super.execute();
		ServletRequest request = getRequest();
		String startDate = request.getParameter("startDate");
		String endDate = request.getParameter("endDate");
		String groupBy = request.getParameter("groupBy");
		IEmployeeBo empBo = (IEmployeeBo) getBean("empBo");
		java.util.List empSumList = empBo.getEmpNewReport(startDate, endDate,
				groupBy);
		Map params = new HashMap();
		params.put("empSumList", empSumList);
		request.setAttribute("_params", params);
		return result;
	}

	private static final long serialVersionUID = 1L;
}
